using Gateway.Infrastructure.AutoDI;
using Gateway.IQuery.WorkFlow.Request;
using Gateway.IQuery.WorkFlow.Result;

namespace Gateway.IQuery.WorkFlow;

/// <summary>
/// 工作流查询服务
/// </summary>
public interface IWorkFlowQuery : IDependency
{
    /// <summary>
    /// 获取分页列表
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<PageResult<WorkFlowListResult>> GetList(WorkFlowPageListRequest request);
    /// <summary>
    /// 获取详情
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    Task<WorkFlowDetailResult> GetDetail(string id);
}